import { _decorator, animation, AnimationClip, Component, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('AnmCtrl')
export class AnmCtrl extends Component {
    // @property(animation.AnimationController)
    // anmCtrl: animation.AnimationController = null;
    // @property(AnimationClip)
    // old:AnimationClip = null;
    // @property(AnimationClip)
    // dance:AnimationClip = null;
    // onEnable() {

    //     //@ts-ignore

    //     this.anmCtrl.overrideClips_experimental(
    //         new Map([[this.old,this.dance]]))
   
    //         this.anmCtrl.setValue("dance",true);
    //     // console.log(22,states)

    // }

}

